<template>
  <div class="warpc">
    <div class="ambitus">
      <div class="oneline">
        <div class="onelinef">所在商场</div>
        <!-- <van-icon name="arrow" /> -->
      </div>
      <div class="adress">
        <div class="fu">
          <div class="adsle">
            <img src="chenkong/imgs/swipe/1/p2.jpg" alt="" />
          </div>
          <div class="adsri">
            <p class="rititle">老菜场市井文化创意街区</p>
            <div><span>28家美食团购</span><span>1.22折起</span></div>
            <p class="all">共69家美食商铺，该店人气top2</p>
          </div>
        </div>

        <div class="jt"><van-icon name="arrow" /></div>
      </div>
    </div>
  </div>
</template>

<script>
import axios from "axios";
// import { shoplistCK } from "../../../api/chenkong.js";
export default {
  data() {
    return {
      obj: [],
    };
  },
  created() {
    let i = this.$route.query.i;
    axios.request("http://localhost:8889/shoplistCK").then(({ data }) => {
      this.obj = data[i];
    });
    // shoplistCK().then(({ data }) => {
    //   this.obj = data[i];
    // });
  },
};
</script>

<style lang="scss" scoped>
.warpc {
  width: 100%;
  .ambitus {
    margin-top: 3.733vw;
    line-height: 6.4vw;
    width: 90%;
    margin: auto;
    // background: green;
    .oneline {
      margin-top: 3.733vw;

      display: flex;
      justify-content: space-between;
      .onelinef {
        font-size: 3.733vw;
        font-weight: 700;
      }
    }
    .adress {
      margin-top: 2.133vw;
      display: flex;
      justify-content: space-between;
      .fu {
        display: flex;
      }
      .adsle {
        img {
          width: 18.667vw;
          height: 18.667vw;
        }
      }
      .adsri {
        margin-left: 2.133vw;
        .rititle {
          font-size: 3.733vw;
          font-weight: bold;
        }
        span {
          font-size: 3.2vw;
          padding: 0.8vw;
          background: #f7f5f6;
          border-radius: 0.8vw;
          margin-left: 0.8vw;
        }
        .all {
          color: #d3d0aa;
          font-size: 3.2vw;
        }
      }
      .jt {
        margin-top: 6.667vw;
      }
    }
  }
}
</style>